//
//  ZBOneSubViewC.m
//  BaseRACDemo
//
//  Created by 庄波 on 2018/3/9.
//  Copyright © 2018年 庄波. All rights reserved.
//

#import "ZBOneSubViewC.h"

@interface ZBOneSubViewC ()
/// 返回按钮
@property (nonatomic, readwrite, strong) UIBarButtonItem *backItem;
@end

@implementation ZBOneSubViewC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.leftBarButtonItem = self.backItem;

}

- (UIBarButtonItem *)backItem
{
    if (_backItem == nil) {
        _backItem = [UIBarButtonItem mh_backItemWithTitle:@"返回" imageName:@"barbuttonicon_back_15x30" target:self action:@selector(pullBack)];
    }
    return _backItem;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
